<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<link rel="stylesheet" href="css/login_popup.css" />
		<link rel="stylesheet" href="layui-v2.3.0/layui/css/layui.css" />
		<script type="text/javascript" src="layer-v3.1.1/layer/layer.js" ></script>
		<script type="text/javascript" src="js/jquery.js" ></script>
		<script type="text/javascript" src="layer-v3.1.1/layer/layer.js" ></script>
		
		<script>
			function ShowLoginText(){
				
				layer.open({
					type:1,
					title:"QQ",
					anim:3,
					area:["400px","300px"],
					content:$("#loginBox"),
				});
			}
			
		</script>
		<title></title>
	</head>
	<body >
		<div id="header">
		  	 <div id="header-con">
			     <div><a href="javascript:;" id="bLogin" onclick="ShowLoginText()">登录</a></div>
			     <div><a href="javascript:;" id="bReg">注册</a></div>
		   	 </div>
		</div>
		<div id="loginBox" class="layui-anim layui-anim-scale">
			<form action="loginServlet">
			    <div class="login-item"><input  type="text" id="name"  name="name" placeholder="请输入用户名" /></div>
			    <div class="login-item"><input  type="password" id="pwd" name="pwd" placeholder="请输入密码"/></div>
			    <div class="login-item"><input id="submit_login" type="submit" onclick="Login()" value="登陆"></input></div>
			</form>
		</div>
		
	
	</body>
</html>
